package com.zscat.mallplus.center.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zscat.mallplus.utils.BaseEntity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

@Data
public class CenterVerification extends BaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	/** id */
    private Long id;
    
    private Long orderId;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderSn;

    /** 客户id */
    @Excel(name = "客户id")
    private Long userId;
    
    /** 操作人id */
    @Excel(name = "操作人id")
    private Long operateId;
    
    private String operateName;
    
    private String nickName;
    
    private String phone;
    
    private String productName;
    
    private BigDecimal productMoney;

    /** 核销码 */
    @Excel(name = "核销码")
    private String verificationCode;
 
    /** 是否核销[0:否,1:是] */
    @Excel(name = "是否核销[0:否,1:是]")
    @TableField("is_verification")
    private Integer verification;
    
    /** createTime */
    @Excel(name = "createTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;
    
    /** updateTime */
    @Excel(name = "updateTime")
    @JsonFormat(pattern = "yyyy-MM-dd  HH:mm:ss",timezone="GMT+8")
    private Date updateTime;
    

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderSn(String orderSn) 
    {
        this.orderSn = orderSn;
    }

    public String getOrderSn() 
    {
        return orderSn;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setVerificationCode(String verificationCode) 
    {
        this.verificationCode = verificationCode;
    }

    public String getVerificationCode() 
    {
        return verificationCode;
    }
    public void setVerification(Integer verification) 
    {
        this.verification = verification;
    }

    public Integer getVerification() 
    {
        return verification;
    }
    
    public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
	public Long getOperateId() {
		return operateId;
	}

	public void setOperateId(Long operateId) {
		this.operateId = operateId;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderSn", getOrderSn())
            .append("userId", getUserId())
            .append("verificationCode", getVerificationCode())
            .append("verification", getVerification())
            .append("storeId", getStoreId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }

	public String getOperateName() {
		return operateName;
	}

	public void setOperateName(String operateName) {
		this.operateName = operateName;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

}
